﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using Microsoft.SharePoint.Administration;
using Microsoft.SharePoint.Utilities;

namespace SPaDevToolkit.Administration
{
    public abstract class SPaCslaWebServiceApplication : SPaWebServiceApplication
    {
        #region Constructors
        public SPaCslaWebServiceApplication() { }

        public SPaCslaWebServiceApplication(string name, SPIisWebService service, SPIisWebServiceApplicationPool applicationPool)
			: base(name, service, applicationPool)
		{
        }
        #endregion

        #region Overrides
        protected override string InstallPath
        {
            get { return SPUtility.GetGenericSetupPath(@"WebServices\Csla\WcfPortal"); }
        }

        protected override string VirtualPath
        {
            get { return "WcfPortal.svc"; }
        }

        protected override string DefaultEndpointName
        {
            get { return "http"; }
        }


        #endregion
    }
}
